#include "SocketThread.h"

UdpSocket::UdpSocket(const std::string& localAddr, int localPort, const std::string& remoteAddr, int remotePort)
{
    this->localAddr = localAddr;
    this->localPort = localPort;
    this->remoteAddr = remoteAddr;
    this->remotePort = remotePort;
}

UdpSocket::~UdpSocket(void)
{

}

int UdpSocket::start(void)
{
    return SocketThread_OK;
}

int UdpSocket::release(void)
{
    closesocket(udpSocket);
    return SocketThread_OK;
}
